package com._21cn.cms.article.web.validator;

import com._21cn.cms.article.entity.Special;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

@Component("specialValidator")
public class SpecialValidator
        implements Validator
{
    public boolean supports(Class<?> clazz)
    {
        return Special.class.equals(clazz);
    }

    public void validate(Object target, Errors errors) {
        Special obj = (Special)target;
    }
}